﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Arith
{
    public class Rectangle2
    {
        private int _len;
        private int _brd;
        public Rectangle2(int side1, int side2)
        {
            _len = side1;
            _brd = side2;
        }
        //public void SetSides(int side1, int side2)
        //{
        //    _len = side1;
        //    _brd = side2;
        //}
        public long GetArea()
        {
            long ar = _len * _brd;
            return ar;
        }
    }
}
